package top.hepingan.java.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 感恩墙表
 * </p>
 *
 * @author author
 * @since 2025-10-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("gratitude")
@ApiModel(value="Gratitude对象", description="感恩墙表")
public class Gratitude implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "感恩墙ID，主键，自增")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "发布者ID，关联用户表")
    private Long userId;

    @ApiModelProperty(value = "感恩文字内容")
    private String content;

    @ApiModelProperty(value = "点赞数")
    private Integer likeCount;

    @ApiModelProperty(value = "评论数")
    private Integer commentCount;

    @ApiModelProperty(value = "发布时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "审核状态：0待审核，1通过，2拒绝 3禁用")
    private Integer auditStatus;


}
